package com.industrial.operation.mapper;

import com.industrial.operation.domain.SysDataReporting;
import com.industrial.operation.domain.SysDataReportingScoreAppeal;
import com.industrial.operation.domain.SysDataReportingScoreAppealOld;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDataReportingScoreAppealMapper {

    /**
     * 删除当前申诉分数通过PKID
     * @param pkId
     */
    void deleteAppealScroeByPkId(@Param("pkId") String pkId);

    /**
     * 插入申诉分数
     * @param params
     */
    void insertAppealScroe(@Param("list") List<SysDataReportingScoreAppealOld> params);

    void insertSysDataReportingScoreAppeal(SysDataReportingScoreAppeal sysDataReportingScoreAppeal);


    List<SysDataReportingScoreAppeal> selectSysDataReportingScoreAppealList(SysDataReportingScoreAppeal sysDataReportingScoreAppeal);

    SysDataReportingScoreAppeal getScoreAppeaInfoByBaseId(@Param("baseId") String baseId);

    void updateSysDataReportingScoreAppeal(SysDataReportingScoreAppeal params);

    SysDataReportingScoreAppeal selectDistrictAppealExist(@Param("baseId") String baseId);

    void batchInsert(@Param("list") List<SysDataReporting> sysDataReportings);

}
